
/* -----------------
* brief 
* 1. this is code gen by tools 
* 2. array like [a,b,c] after each field, define the ui html tag in view, 
		a for title, 
		b for show or not ,  
		c for element html tag , currently support : check、radio、select、input、textarea、upload
* 3. XXX
*/
//使用方法：在工程root目录下，执行go generate ./modules/common/models
//go:generate legogen -type=Area -kv=ModuleName=common,PrjName=saas_sys_base -dirconf=../../.. ./Area.go
package common

import "github.com/mjiulee/lego"

func init() {
	lego.AddBeanToSynList(new(Area))
}

/* table: "tb_area"
 * -----------------
*/
type Area struct {
	Id        int64  `xorm:"pk"`                  // ["id","hide","hidden"]
	IfDel     int `xorm:"default 0"` // ["deleted","hide","hidden"]
	Cdate     string `xorm:"DateTime created"`    // ["create","show","datetime"]
	Udate     string `xorm:"DateTime updated"`    // ["update","show","datetime"]
    // add your custom field here

    Pid     int64 `xorm:"BigInt"`

	ShortName string `xorm:"varchar(255)"`

	Name string `xorm:"varchar(255)"`

	MergeName string `xorm:"varchar(255)"`

	Level int `xorm:"int"`

	Zip string `xorm:"varchar(255)"`

	Long string `xorm:"varchar(255)"`

	Lat string `xorm:"varchar(255)"`

}